#pragma once
#include "CAnimation.h"

class CAnimationManager
{
private:
	vector<CAnimation*> m_vAnimList;
public:
	void AddAnimation( CAnimation *_pAnimation );
	void RemoveAnimation( int _nIndex );
	void StartAnimation( int _nIndex );
	void StopAnimation( int _nIndex );
	void ClearAnimations();
	void ResetAnimation( int _nIndex );
	void Update( float _fDt );
	void Render( void );
	bool GetIsPlaying( int _nIndex );
	int GetAnimVectorSize()	{ return m_vAnimList.size(); }
	CAnimation* GetAnimation(int index) { return m_vAnimList[index]; }

	~CAnimationManager();
};